#ifndef CONF_H
#define CONF_H

#define	DEFAULT_HOST	"localhost"

#define	MAX_VAR		64
#define	MAX_PORTS	10
#define	MAX_IPS		10
#define	MAX_IP_LEN	64

#define CONF_FILE	"server.conf"
#define CONF_PORT	"port"
#define	CONF_IP		"ip"
#define	CONF_CONN	"connections"
#define CONF_DB		"dbname"
#define	CONF_ALL	"all"
#define	MAX_PAR		20
#define	MAX_VAL		256

int
getConf(char * file, int * port, char * ip, int * connections, char * dbname);

#endif

